<table class="default">
	<thead>
		<tr>
			<?php foreach ($columns as $column => $data): ?>
				<td><?php echo $column; ?></td>
			<?php endforeach; ?>
			<td></td><td></td>
		</tr>
	</thead>
	<tbody>
		<?php foreach ($pages as $page): ?>
		<tr>
			<?php foreach ($columns as $column => $data): ?>
				<td><?php echo $page->{$column}; ?></td>
			<?php endforeach; ?>
			<td><a href="<?php echo URL::site(Route::get('backend')->uri(array('controller' => 'pages', 'action' => 'edit', 'par1' => $page->id))); ?>">ред.</a></td>
			<td><a href="<?php echo URL::site(Route::get('backend')->uri(array('controller' => 'pages', 'action' => 'delete', 'par1' => $page->id))); ?>" onclick="return confirm('Подтверждаете удаление?');">удал.</a></td>
		</tr>
		<?php endforeach; ?>
	</tbody>
</table>